﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: DictionaryEntity.cs
// 修改时间：2020-9-8 10:40:02
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：Dictionary 的实体类.
	/// </summary>
	[Table("Dictionary")]
	public partial class DictionaryEntity
	{
		#region Properties
		private int? _fieldID = 0;
		/// <summary>
		/// 字段ID(主键)(自增长)
		/// </summary>
		[Column("FieldID",TypeName="int")]
		[Key]
		[MyFlag("Identity")]
		public int? FieldID
		{
			get {return _fieldID;}
			set {_fieldID = value;}
		}
		
		private System.String _title = string.Empty;
		/// <summary>
		/// 字段标题
		/// </summary>
		[Column("Title",TypeName="nvarchar(50)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String Title
		{
			get {return _title;}
			set {_title = value;}
		}
		
		private System.String _tableName = string.Empty;
		/// <summary>
		/// 字段所属的表名
		/// </summary>
		[Column("TableName",TypeName="nvarchar(30)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String TableName
		{
			get {return _tableName;}
			set {_tableName = value;}
		}
		
		private System.String _fieldName = string.Empty;
		/// <summary>
		/// 字段名
		/// </summary>
		[Column("FieldName",TypeName="nvarchar(30)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String FieldName
		{
			get {return _fieldName;}
			set {_fieldName = value;}
		}
		
		private System.String _fieldValue = string.Empty;
		/// <summary>
		/// 字段值（选项名|是否启用值|默认值）
		/// </summary>
		[Column("FieldValue",TypeName="nvarchar(MAX)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String FieldValue
		{
			get {return _fieldValue;}
			set {_fieldValue = value;}
		}
		
		#endregion
	}
}
